package graph;

import java.util.HashMap;
import java.util.HashSet;

public class Graph {
    public HashMap<Integer, Node> nodes = new HashMap<>(); // 初始化
    public HashSet<Edge> edges = new HashSet<>();

    public Graph(HashMap<Integer, Node> nodes, HashSet<Edge> edges) {
        this.nodes = nodes;
        this.edges = edges;
    }

    public Graph() {
    }
}
